export interface ExecForm{
    patientName?:any
    visitDate?:any
    orderId?:any
    pageNo:any
    pageSize:any
    execCategory?:any
}

export interface ExecTable {
     code: string;
     msg: string;
     timestamp: number;
     data: Array<ExecTableInfo>;
     ok: boolean;
};

export interface  ExecTableInfo {
     orderId: number;
     orderNo: string;
     execType: string;
     execStatus: string;
     patientId: number;
     patientName: string;
     patientGender: string;
     diagnosisTime: Date;
     visitNo: string;
};



export interface getExecDetailResponse {
     code: string;
     msg: string;
     timestamp: number;
     data: getExecDetailResponseData;
     ok: boolean;
};

export interface getExecDetailResponseData {
     orderId: number;
     orderNo: string;
     execType: string;
     execStatus: string;
     patientId: number;
     patientName: string;
     patientGender: string;
     diagnosisTime: Date;
     visitNo: string;
     visitDate: Date;
     doctorId: number;
     doctorName: string;
     deptId: number;
     deptName: string;
     diagnosis: string;
     patientPhone: string;
     idCard: string;
     ageYear: number;
     ageMonth: number;
     solarBirthday: Date;
     lunarBirthday: Date;
     weight: number;
     systolicBp: number;
     diastolicBp: number;
     rxInfo: RxInfo;
};

export interface RxInfo {
     rxType: string;
     rxId: number;
     rxName: string;
     extInfo: ExtInfo;
};

export interface ExtInfo {
     projectId: number;
     projectName: string;
     projectCategory: string;
     price: number;
     projectType: string;
     frequencyCode: string;
     frequencyCodeText: string;
     cycle: number;
     cycleUnit: string;
     cycleUnitText: string;
     remark: string;
     totalOutQty: number;
     totalOutQtyUnit: string;
     totalOutQtyUnitText: string;
     subtotal: number;
     detailList: Array<DetailList>;
     nextTimes: number;
     totalTimes: number;
     execStatus: string;
};

export interface DetailList {
     acupointCode: string;
     acupointName: string;
     sideType: string;
};




export interface getRecordListResponse {
     code: string;
     msg: string;
     timestamp: number;
     data: Array<getRecordListResponseData>;
     ok: boolean;
};

export interface getRecordListResponseData {
     recordId: number;
     orderId: number;
     execType: string;
     execTimes: number;
     groupName: string;
     execUserId: number;
     execBy: string;
     execTime: Date;
     execResult: string;
};



export interface ChargeListResponse {
     code: string;
     msg: string;
     timestamp: number;
     data: Array<ChargeListResponseData>;
     ok: boolean;
};

export interface ChargeListResponseData {
     orderUserId: number;
     orderBy: string;
     deptId: number;
     deptName: string;
     orderTime: Date;
     payStatus: string;
     payChannel: string;
     subtotal: number;
};

